package com.xzmzhp.dao.maintain;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzmzhp.dao.maintain.sql.LendImgsSql;
import com.xzmzhp.pojo.maintain.LendImgs;
import org.apache.ibatis.annotations.InsertProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: 王源(xm)
 * @create: 2022-04-24 18:18
 * @program: ams
 * @description: 借出记录图片数据库交互类
 */
@Repository
public interface LendImgsMapper extends BaseMapper<LendImgs> {
    /**
     * 批量添加借出记录图片
     * @param lendImgs 借出记录图片数据
     * @return 是否成功
     */
    @InsertProvider(type = LendImgsSql.class,method = "addLendImgs")
    Integer addLendImgs(List<LendImgs> lendImgs);
}
